#include "Globals.h"
#include <iostream>

Globals * Globals::instance = NULL;

Globals * Globals::get()
{
	if (!instance) 
		instance = new Globals();
	return instance;
}

bool Globals::isRunning()
{
	return m_isRunning;
}

void Globals::setIsRunning(bool isRunning)
{
	m_isRunning = isRunning;
}

float Globals::getCameraRotateSpeed()
{
	return m_cameraRotateSpeed;
}

void Globals::setCameraRotateSpeed(float speed)
{
	m_cameraRotateSpeed = speed;
}

float Globals::getCameraMoveSpeed()
{
	return m_cameraMoveSpeed;
}

void Globals::setCameraMoveSpeed(float speed)
{
	m_cameraMoveSpeed = speed;
}

Globals::Globals()
{
	m_isRunning = false;
}

Globals::~Globals()
{
}
